//公共配置部分
var requestUrl = 'https://api.shihanbainian.com/'
var requestUrls = 'https://sapi.shihanbainian.com/'
module.exports = {
  cid: '',
  sh_token: '', //后台接口验证 79f40ac87547f24b759e98e8287c5ac5
  sh_customer_id: 0, //用户绑定手机号后生成的ID 134
  unionId: '', //uninod
  open_id: '', //设备id
  code: '',
  stage: 0, //跳转层级
  userimg: '', //头像地址
  nickName: '', //用户昵称
  video_menu_show: '', //视频是否开启
  sh_is_partner: 0, //是否合伙人
  partner_id: '', //
  webresiter: 0,
  specialpage: 0,
  goback: 0, //是否回退到上一个页面
  gosetting: 0, //是否点击去设置
  version: '3.3.0',
  reg_partner: 0, //是否邀请合伙人
  wechat_switch: 0, //测试开关
  salesrule: '', //注册送优惠券信息
  sh_search_keyword: '', //搜索提示文字
  commonapi: requestUrl,
  commonsapi: requestUrls,
  commonurl: 'https://m.shihanbainian.com/',
  commonmoburl: 'https://mobile.shihanbainian.com/',
  home: requestUrls + '1/index/new_index/', //推荐
  baiduMap: 'https://api.map.baidu.com/geocoder/v2/', //百度地图
  configinfo: requestUrls + '1/config.html', //首页公共配置
  fans_product: requestUrls + '1/partner/fans_product_rem/partner_id_', //为你推荐
  seconds_activity: requestUrls + '1/seconds_activity.html', //世瀚秒杀
  recommended: requestUrls + '1/collection/recommended/', //专题列表
  recommendeddetail: requestUrls + '1/collection/detail/id_', //专题详情
  template_detail_get: requestUrls + '1/collection/template_detail_get/id_', //模板专题
  collectionrem_list: requestUrls + '1/collection/rem_list/', //推广清单推荐专题
  quality_life_detail: requestUrls + '1/quality_life/detail', //品质生活详情
  originality_process_detail: requestUrls + '1/originality_process/detail/id_', //匠心工艺详情
  giftindex: requestUrls + '1/gift/index/', //礼物首页
  giftsetlist: requestUrls + '1/gift/set_list/', //送礼场景
  strategy_list: requestUrls + '1/gift/strategy_list/', //攻略
  strategyinfo: requestUrls + '1/gift/theme_view/id_', //攻略详情
  videoall: requestUrls + '1/video/all.html', //视频大全  按字母搜索
  video: requestUrls + '1/video/', //视频
  videodetail: requestUrls + '1/video/detail/id_', //视频详情
  videocomment: requestUrls + '1/video/comment_list/video_id_', //视频评论
  videorank: requestUrls + '1/video/rank/', //大赛排名
  searchrank: requestUrls + '1/video/search_rank/', //大赛排名搜索
  video_play_num_add: requestUrl + '1/customer/video_play_num_add.html', //播放次数添加
  videosearch: requestUrls + '1/video/search/', //视频搜索
  storedetail: requestUrls + '1/seller/index/', //店铺详情
  indulgence_banner: requestUrls + '1/new_product.html', //新品特惠banner和分类
  indulgence_goods: requestUrls + '1/new_product/products/event_id_', //新品特惠活动商品
  brand: requestUrls + '1/brand.html', //品牌首页
  brand_all: requestUrls + '1/brand/all.html', //品牌大全
  good_product: requestUrls + '1/good_product/get_list/', //好物首页修改
  good_product_is_home: requestUrls + '1/good_product/is_home_1/', //好物推荐到首页
  good_product_detail: requestUrls + '1/good_product/detail/id_', //好物详情页
  search: requestUrls + '1/search/search', //搜索
  searchbrand: requestUrls + '1/search/brand_list', //搜索
  hot_search_word: requestUrls + '1/search/hot_search_word.html', //热搜
  all_category_index: requestUrls + '/1/category/all_index.html',//新增全品类接口
  category_search_product_list: requestUrls + '1/category/search_product_list.html',//新二级品类接口
  category: requestUrls + '1/category.html', //分类列表
  brand_list: requestUrls + '1/category/get_brand_list/cid_', //分类品牌
  get_product_list: requestUrls + '1/category/get_product_list/cid_', //品类商品查询
  goods_detail: requestUrls + '2/product/detail/id_', //商品详情
  get_product_review: requestUrls + '1/product/get_product_review/product_id_', //商品评价
  domain: requestUrls + '1/brand/brand_province.html', //域见
  domain_list: requestUrls + '1/brand/brand_province_list.html', //域见二级页
  ingenuity: requestUrls + '1/originality_process/', //匠心工艺
  qualitylife: requestUrls + '1/quality_life.html', //品质生活
  giveregion: requestUrls + '/1/helper/region?region_id=', //获取行政地区
  get_adv_view: requestUrls + '1/adv/get_view/id_', //广告信息获取
  reward_list: requestUrls + '1/partner/reward_list/', //累计奖励列表
  qingming_festival_index: requestUrls + '1/event/qingming_festival_index.html', //清明节活动
  group_buy: requestUrls + '1/group_buy/index/', //拼团首页
  product_team_view: requestUrls + '1/group_buy/product_team_view/id_', //开团详情
  product_team: requestUrls + '1/group_buy/product_team/id_', //商品已经开团列表
  get_cooperation_list: requestUrls + '/1/adv/get_cooperation_list/', //合作伙伴
  get_activity_message: requestUrls + '1/customer/get_activity_message', //世瀚活动消息列表
  get_salesrule_message: requestUrls + '1/customer/get_salesrule_message', //优惠券消息列表
  get_message_center: requestUrls + '1/customer/get_message_center.html', //获取消息中心列表
  get_product_history: requestUrls + '1/customer/get_product_history', //获取我的足迹列表
  get_online_contact: requestUrls + '1/agent/get_online_contact.html', //代理商中心联系客服
  get_time_preference: requestUrls + '1/time_preference/index/',//限时特惠（v3.2.0）列表接口
  add_wx_form: requestUrl + '1/wechat/add_wx_form', //推送信息
  update_wechat_data: requestUrl + '1/customer/sync_wechat_data', //更新用户资料
  partner: requestUrl + '2/partner', //合伙人首页
  partnerproduct: requestUrl + '1/partner/product', //套餐展示
  partnerproduct_buy: requestUrl + '1/partner/product_buy', //套餐购买
  partner_generate_order: requestUrl + '1/partner/generate_order', //合伙人提交订单
  partnerteam: requestUrl + '1/partner/team', //合伙人-我的团队
  partnerfans: requestUrl + '1/partner/fans', //合伙人-我的粉丝
  add_extension: requestUrl + '1/partner/add_favorite', //加入/删除清单
  partner_favorite: requestUrl + '1/partner/favorite', //我的推广清单
  partner_product_rem: requestUrl + '1/partner/product_rem', //世瀚推荐
  partner_inform: requestUrl + '1/partner/inform', //我的消息
  partner_inform_view: requestUrl + '1/partner/inform_view', //我的消息详情
  sell_list: requestUrl + '1/partner/sell_list', //销售累计
  material_list: requestUrl + '1/partner/material_list',//素材圈
  classroom_list: requestUrl + '1/partner/classroom_list',//合伙人课堂
  partner_qrcode_bg: requestUrl + '1/partner/qrcode_bg/', //推广二维码
  partner_order_list: requestUrl + '1/partner/order_list', //佣金明细-全部订单
  partner_pay_order_list: requestUrl + '1/partner/pay_order_list', //佣金明细-未到账
  partner_complete_order_list: requestUrl + '1/partner/complete_order_list', //佣金明细-已到账
  partner_refund_order_list: requestUrl + '1/partner/refund_order_list', //佣金明细-售后
  pick_up_salesrule: requestUrl + '1/customer/pick_up_salesrule', //领取优惠券
  wechatLogin: requestUrl + '1/customer/wechat_login',
  check_login: requestUrl + '/1/customer/check_login', //检查登录状态
  check_partner: requestUrl + '/1/customer/check_partner', //检查是否是合伙人
  video_comment_add: requestUrl + '1/customer/video_comment_add.html', //评论添加
  video_vote_add: requestUrl + '1/customer/video_vote_add.html', //视频投票
  captcha: requestUrl + '1/helper/captcha', //发送验证码
  loginauth: requestUrl + '1/customer/auth_login', //第三方登录
  bindauth: requestUrl + '1/customer/auth_bind', //注册时绑定手机号
  bind_mobile: requestUrl + '1/customer/bind_mobile', //已登陆用户绑定手机号
  skipbind: requestUrl + '1/wechat/skip', //跳过绑定
  get_customer_info: requestUrl + '1/customer/get_customer_info', //获取用户信息
  login_customer_info: requestUrl + '1/customer/index', //获取会员信息
  add_address: requestUrl + '1/customer/add_address', //添加新地址
  get_address_list: requestUrl + '1/customer/get_address_list', //获取地址列表
  get_address: requestUrl + '1/customer/get_address', //获取地址详情
  update_address: requestUrl + '1/customer/update_address', //修改地址
  remove_address: requestUrl + '1/customer/remove_address', //删除地址
  set_address_default: requestUrl + '1/customer/set_address_default', //设置默认地址
  cancel_address_default: requestUrl + '1/customer/cancel_address_default', //取消默认地址
  add_to_cart: requestUrl + '1/cart/add_to_cart', //加入购物车
  remove_to_cart: requestUrl + '1/cart/remove_to_cart', //从购物车删除
  update_cart_item: requestUrl + '1/cart/update_cart_item', //编辑购物车
  get_cart_list: requestUrl + '1/cart/get_cart_list', //获取购物车列表/计算选中商品价格
  generate_order: requestUrl + '1/order/generate_order', //提交订单
  confirm_order: requestUrl + '1/order/confirm_order', //确认订单
  confirm_order_price: requestUrl + '1/order/confirm_order_price', //确认订单选择优惠券价格计算
  get_wx_perpay: requestUrl + '1/payment/get_wx_perpay', //微信支付
  add_favorite: requestUrl + '1/customer/add_favorite.html', //添加收藏
  remove_favorite: requestUrl + '1/customer/remove_favorite.html', //删除收藏
  favorite_product: requestUrl + '1/customer/favorite_product_items', //商品收藏列表
  favorite_shop: requestUrl + '1/customer/favorite_seller_items', //店铺收藏列表
  favorite_video_items: requestUrl + '1/customer/favorite_video_items', //视频收藏列表
  get_order_list: requestUrl + '1/order/get_order_list', //全部订单
  remove_order: requestUrl + '1/order/remove_order', //删除订单
  set_trade_cancel: requestUrl + '1/order/set_trade_cancel', //取消订单
  get_unpaid_order: requestUrl + '1/order/get_unpaid_order', //待付款订单
  get_paid_order: requestUrl + '1/order/get_paid_order', //待发货订单
  get_shipping_order: requestUrl + '1/order/get_shipping_order', //待收货订单
  pay_success: requestUrl + '1/payment/pay_success', //支付成功回调
  get_review_order: requestUrl + '1/order/get_review_order', //待评价
  get_review_product: requestUrl + '1/order/get_review_product', //订单评价-获取评价商品
  git_review: requestUrl + '1/order/add_order_review', //提交评价
  uploadimg: requestUrl + '1/helper/upload', //上传图片
  track_order: requestUrl + '1/order/track_order', //物流信息
  receiver_order: requestUrl + '1/order/receiver_order', //确认收货
  get_order_detail: requestUrl + '1/order/get_order_detail', //订单详情
  logout: requestUrl + '1/customer/logout', //退出登录
  channel_get: requestUrl + '1/customer/channel_get', //获取门店信息
  buy_consumer_card: requestUrl + '1/customer/buy_consumer_card', //消费卡购买
  get_consumer_card: requestUrl + '1/customer/get_consumer_card', //消费卡详情
  get_consumer_card_list: requestUrl + '1/customer/get_consumer_card_list', //消费卡列表
  card_wx_perpay: requestUrl + '1/payment/card_wx_perpay', //消费卡微信支付
  get_use_salesrule_list: requestUrl + '1/customer/get_use_salesrule_list', //我的优惠券已使用
  get_no_use_salesrule_list: requestUrl + '1/customer/get_no_use_salesrule_list', //我的优惠券未使用
  get_failure_salesrule_list: requestUrl + '1/customer/get_failure_salesrule_list', //我的优惠券已失效
  get_bupiao_obtain_list: requestUrl + '1/customer/get_bupiao_obtain_list', //红包获取明细
  get_bupiao_spending_list: requestUrl + '1/customer/get_bupiao_spending_list', //红包支出明细
  bupiao_recharge: requestUrl + '1/customer/bupiao_recharge', //红包充值
  get_bupiao_trade: requestUrl + '1/customer/get_bupiao_trade', //交易订单明细
  confirm_order_price: requestUrl + '1/order/confirm_order_price', //确认订单选择优惠券价格计算
  get_balance_gain: requestUrl + '1/customer/get_balance_gain', //现金账户获取明细
  get_balance_order: requestUrl + '1/customer/get_balance_order', //现金账户购物支出
  get_balance_cash: requestUrl + '1/customer/get_balance_cash', //现金账户提现记录
  get_balance_cash_info: requestUrl + '1/customer/get_balance_cash_info', //现金账户提现详情
  get_balance_detail: requestUrl + '1/customer/get_balance_detail', //现金账户获取，支出详情
  get_bupiao_detail: requestUrl + '1/customer/get_bupiao_detail', //世瀚币获取明细详情
  add_share_info: requestUrl + '1/product/add_share_info', //记录商品分享
  get_group_buy_order: requestUrl + '1/order/get_group_buy_order', //全部拼团订单列表
  get_group_buy_unpaid_order: requestUrl + '1/order/get_group_buy_unpaid_order', //拼团待付款订单
  get_group_buy_wait_order: requestUrl + '1/order/get_group_buy_wait_order', //待成团订单
  get_group_buy_success_order: requestUrl + '1/order/get_group_buy_success_order', //已成团订单
  get_group_buy_fail_order: requestUrl + '1/order/get_group_buy_fail_order', //拼团失败订单
  get_group_buy_detail: requestUrl + '1/order/get_group_buy_detail', //拼团详情
  set_group_buy_cancel: requestUrl + '1/order/set_group_buy_cancel', //取消拼团
  share_url: requestUrl + '1/share/share_url', //分享接口打点
  other_config: requestUrl + '1/helper/other_config', //其它配置开关
  agent_home: requestUrl + '1/agent', //代理商中心首页
  agent_apply_info: requestUrl + '1/agent/apply_info', //代理商信息
  agent_apply: requestUrl + '1/agent/apply', //代理商申请
  agent_verify_list: requestUrl + '1/agent/verify_list', //代理商审核列表
  agent_verify: requestUrl + '1/agent/verify', //代理商审核操作 审核操作 1通过 2拒绝
  agent_child_list: requestUrl + '1/agent/child_list', //我的下级代理商列表
  agent_child_detail: requestUrl + '1/agent/child_detail', //我的下级代理商详情
  agent_order_select_brand: requestUrl + '1/agent/order_select_brand', //我要进货--选择品牌
  agent_order_confirm_price: requestUrl + '1/agent/order_confirm_price', //我要进货--计算价格
  agent_order_generate: requestUrl + '1/agent/order_generate', //我要进货--提价订单
  agent_wx_perpay: requestUrl + '1/payment/agent_wx_perpay', //我要进货支付---微信支付
  agent_trade_list: requestUrl + '1/agent/trade_list', //我的进货单列表
  agent_valid_payment: requestUrl + '1/payment/agent_valid_payment', //我的进货单--未付款发起支付
  agent_trade_cancel: requestUrl + '1/agent/trade_cancel', //我的进货单--取消交易单
  agent_trade_detail: requestUrl + '1/agent/trade_detail', //我的进货单--详情
  agent_child_trade_list: requestUrl + '1/agent/child_trade_list', //下级代理商进货单列表
  agent_child_trade_paid: requestUrl + '1/agent/child_trade_paid', //下级代理商进货单设置为已付款
  order_get_shipment_items: requestUrl + '1/order/get_shipment_items', //获取物流公司列表
  agent_add_logistic: requestUrl + '1/agent/add_logistic', //添加物流信息
  agent_order_track: requestUrl + '1/agent/order_track', //查看物流信息
  agent_qrcode_shipping: requestUrl + '1/agent/qrcode_shipping', //扫码发货
  agent_qrcode_receiver: requestUrl + '1/agent/qrcode_receiver', //扫码收货
  agent_qrcode_track_list: requestUrl + '1/agent/qrcode_track_list', //产品追踪
  agent_shift_detail: requestUrl + '1/agent/shift_detail', //代理商转移查看
  agent_shift_apply: requestUrl + '1/agent/shift_apply', //代理商转移提交
  agent_shift_list: requestUrl + '1/agent/shift_list', //转移申请列表
  agent_shift_verify: requestUrl + '1/agent/shift_verify', //转移申请审核
  agent_material_list: requestUrl + '1/agent/material_list',//微商素材圈：一键发圈
  agent_material_video_list: requestUrl + '1/agent/material_video_list',//微商素材圈：视频列表
  agent_brand_all: requestUrl + '1/agent/brand_all',//代理商所有品牌
  agent_return_list: requestUrl + "1/agent/return_list",//返货单：'我的返货单'列表和'代理商返货单'列表 接口
  agent_return_brand_list: requestUrl + "1/agent/return_brand_list",//返货单：获取可返货品牌
  agent_check_agent_return: requestUrl + "1/agent/check_agent_return",//返货单：返货检测
  agent_return_generate: requestUrl + '1/agent/return_generate', //返货单：提交返货单
  agent_return_cancel: requestUrl + '1/agent/return_cancel',//返货单：取消申请 接口
  agent_return_track: requestUrl + '1/agent/return_track',//返货单：查看物流 接口
  agent_return_detail: requestUrl + '1/agent/return_detail',//返货单：返货单详情 接口
  agent_return_qrcode_receiver: requestUrl + '1/agent/return_qrcode_receiver',//返货单：扫码收货 接口
  agent_return_qrcode_shipping: requestUrl + '1/agent/return_qrcode_shipping',//返货单：扫码发货 接口
  agent_return_verify: requestUrl + '1/agent/return_verify',//返货单：返货单审核 接口
  agent_return_add_logistic: requestUrl + '1/agent/return_add_logistic',//返货单：填写物流信息 接口
  agent_report_child_list: requestUrl + '1/agent/report_child_list',//代理商的统计
  agent_report_agent: requestUrl + '1/agent/report_agent',//代理商申统计详情
  agent_export_agent: requestUrl + '1/agent/export_agent',//代理商统计-导出报表-发送邮件
  set_preference_reminder: requestUrl + '1/time_preference/set_reminder',//限时特惠（v3.2.0）商品设置提醒接口
  open_event_index: requestUrl + '1/event/open_event_index',// 品牌活动
}